﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using System.Xml.Linq;
using System.Timers;
using SD.Database;

namespace smallDeimos
{
    public class Global : System.Web.HttpApplication
    {
        protected void Application_Start(object sender, EventArgs e)
        {
            //StoredProcedures.InsertNews(8, DateTime.Now, "App_Start");
            //SchedulerConfiguration config = new SchedulerConfiguration(2 * 60 * 1000);
            //config.Jobs.Add(new SampleJob());
            //Scheduler scheduler = new Scheduler(config);
            //System.Threading.ThreadStart myThreadStart =
            //  new System.Threading.ThreadStart(scheduler.Start);
            //schedulerThread = new System.Threading.Thread(myThreadStart);
            //schedulerThread.Start();
            //StoredProcedures.InsertNews(8, DateTime.Now, "Started");
        }

        protected void Session_Start(object sender, EventArgs e)
        {

        }

        protected void Application_BeginRequest(object sender, EventArgs e)
        {

        }

        protected void Application_AuthenticateRequest(object sender, EventArgs e)
        {

        }

        protected void Application_Error(object sender, EventArgs e)
        {

        }
        
        protected void Session_End(object sender, EventArgs e)
        {

        }

        protected void Application_End(object sender, EventArgs e)
        {
            

        }
    }
}